.form {
  display: grid;
  align-items: start;
  width: 550px;
  height: 750px;
  padding: 30px 44px 42px;
  background-color: var(--white-accent-clr);
  border-radius: var(--radius-xl);

  @media (width <= 768px) {
    width: calc(100vw - 16px);
  }
}

.col2 {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.checkbox span {
  color: var(--clr-card-heading);
}

.header {
  display: grid;
  gap: 30px;
}

.footer {
  align-self: end;
  margin-top: auto;
  margin-bottom: 0;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.text {
  font: var(--font-body-primary);
}

.invalid {
  input {
    background-color: var(--error-surface-subtle);
    outline: 2px solid var(--error-border-lighter);
  }
}

.success {
  background-color: hsl(var(--accent-success-hs) var(--lt-100));
  outline: 2px solid var(--clr-accent-success);
}

.default {
  background-color: var(--primary-surface-lighter);
  outline: 2px solid var(--clr-accent-text);
}
